package org.jeecg.modules.wlhy.captain.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.wlhy.captain.entity.HyCaptain;
import org.jeecg.modules.wlhy.captain.entity.ImportHyCaptainDTO;

import java.util.List;

/**
 * @Description: hy_captain
 * @Author: jeecg-boot
 * @Date:   2024-11-07
 * @Version: V1.0
 */
public interface IHyCaptainService extends IService<HyCaptain> {

    HyCaptain getInfoByUserId(String userId);

    int deleteById(String id);


    Result binding(String orderId, String captainId, String carrierFeeType, String carrierUnitFee);

    Result checkData(String orderId, String captainId, String carrierFeeType, String carrierUnitFee);

    void saveBatchCaptain(List<ImportHyCaptainDTO> list);
}
